package com.atguigu.strategy.improve;

public class PekingDuck extends Duck {
	
	//假如北京鸭可以飞翔，但是飞翔技术一般
	public PekingDuck() {
		flyBehavior = new BadFlyBehavior();
	}

	@Override
	public void display() {
		System.out.println("peking duck");
	}

}
